package com.lt.experiment03.mission01_1;

public class Test {
    public static void main(String[] args) {
        RootVegetablesFactory Rvf = new RootVegetablesFactory();
        RootVegetables rv=Rvf.Growingvegetables("大头菜");
        rv.Sow();
        rv.Grow();
        rv.Fruit();
        System.out.println();
        rv=Rvf.Growingvegetables("胡萝卜");
        rv.Sow();
        rv.Grow();
        rv.Fruit();
        System.out.println();
        rv=Rvf.Growingvegetables("萝卜");
        rv.Sow();
        rv.Grow();
        rv.Fruit();
        System.out.println();
        rv=Rvf.Growingvegetables("豆薯");
        rv.Sow();
        rv.Grow();
        rv.Fruit();
    }
}
